package com.example.huangzejie.service;

import com.example.huangzejie.dao.UserMapper;
import com.example.huangzejie.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public List<User> findList(){ return userMapper.list();}

}
